package com.situ.allaia.common;

import com.situ.allaia.interceptor.LoginInterceptor;
import com.situ.allaia.model.User;
import jakarta.servlet.http.HttpSession;


public class Global {
    public static User findUser(HttpSession session) {
        return (User) session.getAttribute(LoginInterceptor.CURRENT_LOGIN_USER_KEY);
    }
}
